# Maintainer: omni <omni+alpine@hack.org>
pkgname=iaito
pkgver=5.9.6
pkgrel=0
pkgdesc="Official QT frontend of radare2"
url="https://www.radare.org/n/iaito.html"
license="GPL-3.0-only"
arch="all"
depends="radare2
	graphviz
	qt6-qtsvg
	"
makedepends="radare2-dev
	bash
	qt6-qtsvg-dev
	qt6-qtbase-dev
	qt6-qttools-dev
	"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/radareorg/iaito/archive/refs/tags/$pkgver.tar.gz"
options="!check" # no testsuite

build() {
	./configure \
		--build=$CBUILD \
		--target=$CTARGET \
		--prefix=/usr \
		--sysconfdir=/etc
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
009bd8dad1b3210e2e4c557b053747c943c7fc778f0e09903c92c0f928a6737ae895c698c7139a23b5e2f8fbbf33437acf800db551e9c29b14397925a2aba5da  iaito-5.9.6.tar.gz
"
